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,EAAAA,EAAAA,SAAAA,EAAU,KACNF,EAAOrC,KAAK6B,EAChB,EAAG,CAACA,EAAgB,EAGhB,GAAArB,EAAAC,GAAA,EAAC+B,EAAAA,EAAMA,CAACR,SAAUA,WACd,GAAAxB,EAAAC,GAAA,EAACgC,EAAWA,CAACjB,aAAcK,EAAiBzB,GAAIA,KAG5D,qBC/BAsC,EAAAC,QAAA,CAAkB","sources":["webpack://_N_E/?bb1e","webpack://_N_E/./components/privacy/PrivacyDetail.tsx","webpack://_N_E/./components/privacy/PrivacyBody.tsx","webpack://_N_E/./pages/info/[pathName].tsx","webpack://_N_E/./styles/common/HeadSection.module.scss","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/info/[pathName]\",\n function () {\n return require(\"private-next-pages/info/[pathName].tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/info/[pathName]\"])\n });\n }\n ","import { FC } from \"react\";\nimport { TPrivacyTermsPage } from \"@/models/common/common\";\n// import { useQuery } from \"@tanstack/react-query\";\n// import { getPrivacyData, getTermsData } from \"@/utils/queries\";\nimport { MDBContainer } from \"mdb-react-ui-kit\";\nimport styles from \"../../styles/common/HeadSection.module.scss\";\n\nconst PrivacyDetail: FC<{ pathNameDetail: TPrivacyTermsPage; id: string }> = ({\n pathNameDetail,\n id,\n}) => {\n // const { data: value } = useQuery({\n // queryKey: [pathNameDetail, id],\n // queryFn: () =>\n // pathNameDetail === \"privacy\"\n // ? getPrivacyData(id)\n // : getTermsData(id),\n // refetchOnWindowFocus: false,\n // });\n console.log(\"id\", id);\n\n return (\n
\n \n \n \n
\n );\n};\n\nexport default PrivacyDetail;\n","import { FC } from \"react\";\nimport { TPrivacyTermsPage } from \"@/models/common/common\";\nimport PrivacyDetail from \"@/components/privacy/PrivacyDetail\";\n// import { headDataPrivacy } from \"../../utils/mockData/privacyMocks\";\n// import { headDataConditions } from \"../../utils/mockData/conditionMocks\";\n// import HeadSection from \"../common/HeadSection\";\nimport Help from \"../playWithUs/Help\";\n\nconst PrivacyBody: FC<{ pathNameBody: TPrivacyTermsPage; id: string }> = ({\n pathNameBody,\n id,\n}) => {\n // const headDataBody =\n // pathNameBody === \"terms\" ? headDataConditions : headDataPrivacy;\n\n return (\n
\n {/* */}\n \n \n
\n );\n};\n\nexport default PrivacyBody;\n","import { checkPrivacyTerms } from \"@/utils/common\";\nimport { dehydrate, QueryClient, useQuery } from \"@tanstack/react-query\";\nimport type { GetServerSideProps, NextPage } from \"next\";\n\nimport { ESeoPage } from \"@/utils/mockData/metaMocks\";\nimport { getBrochureData, getNavBarData, getSeoInfo } from \"@/utils/queries\";\nimport { TPrivacyTermsPage } from \"@/models/common/common\";\nimport { useEffect } from \"react\";\nimport { useRouter } from \"next/router\";\nimport Layout from \"../../components/common/Layout\";\nimport PrivacyBody from \"../../components/privacy/PrivacyBody\";\n\nconst Privacy: NextPage<{\n checkedPathname: TPrivacyTermsPage;\n seoType: ESeoPage;\n id: string;\n}> = ({ checkedPathname, seoType, id }) => {\n const { data: metaTags } = useQuery({\n queryKey: [\"metaTags\", seoType],\n queryFn: () => getSeoInfo(seoType),\n });\n const router = useRouter();\n\n useEffect(() => {\n router.push(checkedPathname);\n }, [checkedPathname]);\n\n return (\n \n \n \n );\n};\n\nexport const getServerSideProps: GetServerSideProps = async ctx => {\n const checkedPathname = checkPrivacyTerms(ctx.query?.pathName);\n\n const id = process.env.NEXT_PUBLIC_IUBENDA_ID;\n\n if (!checkedPathname || !id) {\n return {\n notFound: true, // triggers 404\n };\n }\n\n const queryClient = new QueryClient();\n\n const seoType =\n checkedPathname === \"privacy\" ? ESeoPage.PRIVACY : ESeoPage.TERMS;\n\n await Promise.all([\n await queryClient.prefetchQuery([\"navBar\"], getNavBarData),\n await queryClient.prefetchQuery([\"brochures\"], getBrochureData),\n ]);\n\n return {\n props: {\n dehydratedState: dehydrate(queryClient),\n checkedPathname,\n seoType,\n id,\n },\n };\n};\n\nexport default Privacy;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"headBgColor\":\"HeadSection_headBgColor__Bh62P\",\"headBgImageContainer\":\"HeadSection_headBgImageContainer__hwWFo\",\"desktopImage\":\"HeadSection_desktopImage__nANis\",\"tabletImage\":\"HeadSection_tabletImage__bnJ4x\",\"mobileImage\":\"HeadSection_mobileImage__MyixQ\",\"headPaddingContainer\":\"HeadSection_headPaddingContainer__XHK5_\",\"headPaddingContainerPrivacy\":\"HeadSection_headPaddingContainerPrivacy__HxKJn\",\"headTitle\":\"HeadSection_headTitle__rFD_4\",\"sectionTitle\":\"HeadSection_sectionTitle__2FJfX\",\"titleAccent\":\"HeadSection_titleAccent__rU6JF\",\"headSubtitle\":\"HeadSection_headSubtitle___B7nh\",\"firstText\":\"HeadSection_firstText__vMDF_\",\"headCentralContainer\":\"HeadSection_headCentralContainer__XE31a\"};"],"names":["window","__NEXT_P","push","__webpack_require__","privacy_PrivacyDetail","pathNameDetail","id","param","console","log","jsx_runtime","jsx","div","className","styles","MDBContainer","fluid","concat","style","minHeight","iframe","title","src","width","height","privacy_PrivacyBody","pathNameBody","jsxs","PrivacyDetail","Help","_pathName_","checkedPathname","seoType","data","metaTags","useQuery","queryKey","queryFn","getSeoInfo","router","useRouter","useEffect","Layout","PrivacyBody","module","exports"],"sourceRoot":""}